package com.shengdai.urms.common.helper;

import java.util.List;

public class Pagelet implements java.io.Serializable {
  private static final long serialVersionUID = 4050411484445383124L;
  private int totalRecord; // 总记录数
  private Object[] pageList; // 对象集
  private String pageName; // 对象名称

  public Pagelet() {

  }

  public Pagelet(String name) {

    pageName = name;
  }

  /**
   * @return
   */
  public int getTotalRecord() {

    return totalRecord;
  }


  public String getPageName() {

    return pageName;
  }

  public void setPageName(
      String pageName) {

    this.pageName = pageName;
  }

  public void setTotalRecord(
      long totalRecord) {

    this.totalRecord = (int)totalRecord;
  }
  public void setTotalRecord(
	      int totalRecord) {

	    this.totalRecord = totalRecord;
	  }
  
public Object[] getPageList() {
	return pageList;
}

public void setPageList(Object[] pageList) {
	this.pageList = pageList;
}

}
